home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / optivc32 / cmath.h < prev    next >
C/C++ Source or Header  |  1999-03-06  |  2KB  |  54 lines

  1. /*    CMATH.H
  2.  
  3.       Complex library for the languages C and C++.
  4.  
  5.       Copyright (C) 1996-1999 Martin Sander
  6.       Address of the author:
  7.            Dr. Martin Sander Software Dev.
  8.            Sertuernerstr. 11
  9.            D-37085 Goettingen
  10.            Germany
  11.            MartinSander@Bigfoot.com
  12.            http://www.optivec.com
  13.  
  14.       Some features:
  15.       *  All three precision levels (single, double, extended)
  16.       *  Not only for C++, but also for C.
  17.       *  Uses C++ features only where it really makes sense:
  18.          for the overloading of basic operators and for
  19.          alternative function names independent of data type.
  20.       *  Mathematical functions are implemented in Assembler
  21.          and much more accurate and efficient than those
  22.          of the complex library of normal C++ compilers.
  23.       *  Vectorized versions of all functions are contained
  24.          in VectorLib, separately available from the same
  25.          author.
  26.  
  27.       Tips:
  28.       1. If you are using only one of the three precision
  29.          levels, you should not include this header file cmath.h,
  30.          but only the one for the precision you chose:
  31.          cfmath.h  for single precision (complex float)
  32.          cdmath.h  for double precision (complex double)
  33.          cemath.h  for extended precision (complex long double)
  34.          This will save you some compile time and some compiler
  35.          buffer memory.
  36.       2. If you want to use the class complex, or the classes
  37.          complex<float>, complex<double>, or complex<long double>
  38.          of the Standard C++ Library, include <newcplx.h> before (!)
  39.          <cmath.h>. Do  n o t  include <complex.h>, which is replaced
  40.          here by <newcplx.h>.
  41.  
  42. */
  43.  
  44. #ifndef __CMATH_H
  45. #define __CMATH_H
  46.  
  47. #include "cfmath.h"
  48. #include "cdmath.h"
  49. #include "cemath.h"
  50.  
  51. #endif /*  __CMATH_H  */
  52.  
  53.  
  54.